if (SERVER) then

	AddCSLuaFile( "shared.lua" )
	SWEP.Weight				= 5
	SWEP.AutoSwitchTo		= false
	SWEP.AutoSwitchFrom		= false
	SWEP.HoldType			= "smg"

end

if ( CLIENT ) then

	SWEP.ViewModelFOV		= 70
	SWEP.ViewModelFlip		= false
	
	SWEP.IconFont = "CSSelectIcons"
	
	SWEP.PrintName = "IMI Galil"
	SWEP.Slot = 5
	SWEP.Slotpos = 0
	SWEP.IconLetter = "v"
	
	killicon.AddFont( "weapon_galil_ar", "CSKillIcons", SWEP.IconLetter, Color( 255, 80, 0, 255 ) )

end

 SWEP.Base				= "tp_base"
 
 SWEP.IronSightsPos = Vector (-5.1337, -3.9115, 2.1624)
 SWEP.IronSightsAng = Vector (0.0873, 0.0006, 0)

 SWEP.Spawnable = true;
 SWEP.AdminSpawnable = true;

 SWEP.ViewModel			= "models/weapons/v_rif_galil.mdl"
 SWEP.WorldModel			= "models/weapons/w_rif_galil.mdl"

 SWEP.Primary.Sound			= Sound( "weapons/galil/galil-1.wav" )
 SWEP.Primary.Recoil			= 3.9
 SWEP.Primary.Damage			= 27
 SWEP.Primary.NumShots		      = 1
 SWEP.Primary.Cone			= 0.026
 SWEP.Primary.ClipSize              = 40
 SWEP.Primary.Delay			= 0.105
 SWEP.Primary.Automatic             = true
 SWEP.Primary.Ammo                  = "ar2"

 SWEP.Secondary.Clipsize            = -1;
 SWEP.Secondary.DefaultClip         = -1;
 SWEP.Secondary.Automatic           = false
 SWEP.Secondary.Ammo                = "none"; 
 SWEP.Secondary.Delay			= 4

